// @ts-nocheck
import * as http from '@/tools/http'



/*获取全部角色*/
export async function queryRole(params: object) {
  return http.get('/api/system/role',params)
}

/*新建角色*/
export async function createRole(params: object) {
  return http.post('/api/system/role',params)
}

/*修改角色*/
export async function modifyRole(params: object) {
  return http.put('/api/system/role',params)
}

export async function delRole(params: object) {
  return http.del('/api/system/role',params)
}
